//
//  FirstCellModel.h
//  AffectionBee
//
//  Created by 王炯 on 16/8/20.
//  Copyright © 2016年 chivalrous. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FirstCellModel : NSObject

//(1)图片
@property (nonatomic,copy) NSString *img;
//(2)商品名
@property (nonatomic,copy) NSString *name;
//(3)买一送一(可为空)
@property (nonatomic,copy) NSString *pm_desc;
//(4)规格
@property (nonatomic,copy) NSString *specifics;
//(5)价格
@property (nonatomic,copy) NSString *partner_price;
//(6)原价(可为空)
@property (nonatomic,copy) NSString *market_price;
//(7)数量
@property (nonatomic,copy) NSNumber *number;
//(8)品牌
@property (nonatomic,copy) NSString *brand_name;


//初始化方法
+(instancetype)FirstCellModelWithDict:(NSDictionary *)dict;


//连接网络，返回数组,传入url和parameter参数
+(void)GetFirstCellDataArrayWithUrl:(NSString *)urlString andParameter:(NSDictionary *)param Sucess:(void (^)(NSArray<FirstCellModel *> *))successBlock Error:(void (^)())errorBlock;


@end
